package com.wu.pojo.reqeust.sys;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;


@Data
public class SendSmsRequest implements Serializable {

    private static final long serialVersionUID = -108619157066040646L;

    @ApiModelProperty(value = "手机号")
    @NotBlank(message = "手机号为空")
    @Size(max = 11, min = 11, message = "手机号有误")
    private String phone;

}
